#ifndef SLIMNUMKEYBOARD_H
#define SLIMNUMKEYBOARD_H

#include <QWidget>
#include <QPushButton>
#include <QSignalMapper>

namespace Ui {
class SlimNumKeyBoard;
}

class SlimNumKeyBoard : public QWidget
{
    Q_OBJECT

public:
    explicit SlimNumKeyBoard(QWidget *parent = nullptr);
    ~SlimNumKeyBoard();
signals:
    void setNumber(int);
    void backspace();
    void ack();
    void cancel();
private slots:
    void on_Btn_Del_pressed();

    void on_Btn_Confirm_pressed();

    void on_Btn_Cancel_pressed();

private:
    Ui::SlimNumKeyBoard *ui;
private:
    QList<QPushButton*> m_lNumBtnList;
    QSignalMapper *m_pSignalMapper;
};

#endif // SLIMNUMKEYBOARD_H
